Order of the [BITS 16] and [ORG 0x0000] directives
Posted
by dboarman-FissureStudios
on Stack Overflow
See other posts from Stack Overflow
or by dboarman-FissureStudios
Published on 2010-03-20T17:00:31Z
Indexed on
2010/03/20
17:21 UTC
Read the original article
Hit count: 441
I am beginning some experimentation in writing a kernel and having fun doing it. I have the basic boot-loader done and the following directives:
[BITS 16]
[ORG 0x0000]
In the kernel tutorial, however, it starts with:
[ORG 0x0000]
[BITS 16]
I was wondering if the order in which these directives are given makes a difference? I am using NASM version 2.06rc2, OpenSUSE 11.2
© Stack Overflow or respective owner